import request from '@/utils/request';

export async function reqTyWarehouseOrderList(data: any, options?: any): Promise<any> {
	return request('/api/sys/warehouseOrder/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyWarehouseOrder(data: any, options?: any): Promise<any> {
	return request('/api/sys/warehouseOrder/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyWarehouseOrder(data: any, options?: any): Promise<any> {
	return request('/api/sys/warehouseOrder/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyWarehouseOrder(data: any, options?: any): Promise<any> {
	return request('/api/sys/warehouseOrder/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


